<?php
class operation_log {

	var $CI;
	var $operation_log_model;

	public function __construct() {
		$this->CI =& get_instance();
		$this->CI->load->model("sys/sys_operation_log_model");
		$this->operation_log_model =$this->CI->sys_operation_log_model;
	}

	public function insert_log($log){
		$this->operation_log_model->insert_log($log);
	}

	public function delete_log($unique_id){
		$this->operation_log_model->delete_log($unique_id);
	}

	public function get_logs($unique_id){
		return 	$this->operation_log_model->get_logs($unique_id);
	}
}